package com.agileboot.domain.performance.submission.command;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 更新绩效上报项的命令对象
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UpdateSubmissionCommand extends AddSubmissionCommand {

    @NotNull(message = "绩效上报项ID不能为空")
    @Positive(message = "绩效上报项ID必须是正数")
    private Long id;

}
